package com.session01;

public class PartTimeSalary extends Salary {
    public int hoursWorked;

    public int getHoursWorked() {
        System.out.println("获取年薪" + this.salary + "的员⼯" + this.name + "的⼯作时间");
        return this.hoursWorked;
    }
}
